/**
 * @description: 存储Storage
 * @param {string} key - local中对应的key
 * @param {string} value - 需要存储的值
 */
export const setStorage = (key, value) => {
  sessionStorage.setItem(key, value);
};

/**
 * @description: 获取Storage
 * @param {string} key - local中对应的key
 */
export const getStorage = (key) => {
  return sessionStorage.getItem(key);
};

/**
 * @description: 删除Storage
 * @param {string} key - local中对应的key
 */
export const removeStorage = (key) => {
  sessionStorage.removeItem(key);
};
